<?php 
namespace Home\Controller;
class Singlecontroller extends CommonController{
	
	protected $m;
	
	function _initialize() {
		parent::_initialize();
		$this->m = D('MaterialSingle');
	}
	
	public function index(){
		$this->info = $this->m->where(array('key'=>I('key')))->find();
		$this->display();
	}
	
}
?>